package cz.semjobKB.knowledge.impl;

import cz.semjobKB.knowledge.api.IExtractedKnowledge;
import cz.semjobKB.knowledge.api.ITerminologyItem;
import cz.semjobKB.knowledge.api.ITripleItem;

import java.util.List;

/**
 * Class used to store found triples and terminologies
 */
public class ExtractedKnowledge implements IExtractedKnowledge {

	private List<ITripleItem> tripleList;
	private List<ITerminologyItem> terminologyList;
	private Integer sentenceCount;
	private Integer fullSent;
	private Integer words;

    /**
     * Constructor
     * @param tripleList        List of found triples
     * @param terminologyList   List of found terminologies
     * @param sentenceCount     Number of sentences in the processed document
     * @param fullSent          Number of full sentences in the processed document. Full means matched full triple
     * @param words             Number of words in the processed document
     */
	public ExtractedKnowledge(List<ITripleItem> tripleList, List<ITerminologyItem> terminologyList, Integer sentenceCount, Integer fullSent, Integer words) {
		this.tripleList = tripleList;
		this.terminologyList = terminologyList;
		this.sentenceCount = sentenceCount;
		this.fullSent = fullSent;
		this.words = words;
	}
	
	
	public List<ITripleItem> getTriples() {		
		return tripleList;
	}

	
	public List<ITerminologyItem> getTerminology() {		
		return terminologyList;
	}

	
	public Integer getSentencesCount() {		
		return sentenceCount;
	}
	
	public Integer getSentFull() {		
		return fullSent;
	}
	
	public Integer getWordCount() {		
		return words;
	}

}
